export const renderTagRankCount = (xAxis:string[],yAxis:number[])=>{
    return {
        tooltip:{
          show:true,
          trigger:'item'
        },
        grid:{
          top:20,
          left:40,
          right:40,
          bottom:40
        },
        color:['#51CFFC'],
        xAxis: {
          type: 'category',
          data: xAxis
        },
        yAxis: {
          type: 'value'
        },
        series: [
          {
            data: yAxis,
            type: 'bar',
            barWidth:20,
            label:{
              show:true,
              position:'top'
            }
          }
        ]
      };
}